package com.freesky.biz.icbc.excel;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.*;
import com.alibaba.excel.enums.poi.BorderStyleEnum;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.alibaba.excel.enums.poi.VerticalAlignmentEnum;
import lombok.Data;

@Data
@ContentRowHeight(22)
@ColumnWidth(25)
@HeadRowHeight(25)
@HeadStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER,
        verticalAlignment = VerticalAlignmentEnum.CENTER,
        borderLeft= BorderStyleEnum.THIN,
        borderRight= BorderStyleEnum.THIN,
        borderTop= BorderStyleEnum.THIN,
        borderBottom= BorderStyleEnum.THIN)//表头样式
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER,
        verticalAlignment = VerticalAlignmentEnum.CENTER,
        borderLeft= BorderStyleEnum.THIN,
        borderRight= BorderStyleEnum.THIN,
        borderTop= BorderStyleEnum.THIN,
        borderBottom= BorderStyleEnum.THIN)
public class TScanUserImport implements java.io.Serializable {
    private static final long serialVersionUID = 1L;

    @ExcelIgnore
    private String id;

    @ExcelIgnore
    private String channelId;

    @ExcelIgnore
    private String batchId;

    @ExcelProperty("姓名")
    private String name;

    @ExcelProperty("手机号码")
    private String mobile;

    @ExcelProperty("数据权限")
    private String dataScope;

    //@ExcelProperty("发放权限")
    @ExcelIgnore
    private String grantType;

    @ExcelProperty("业务编号")
    private String busiCode;

    @ExcelProperty("业务名称")
    private String busiName;

    @ExcelProperty("渠道编码")
    private String codeBank1;

    @ExcelProperty("渠道名称")
    private String bank1;

    @ExcelProperty("备注")
    private String remarks;
}
